// ============================== 导入依赖 ============================== //

// ============================== 导出配置 ============================== //

export default {
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'shadow',
    },
  },
  color: ['#FF6B56', '#FDA446', '#409EFF'],
  grid: {
    top: '15%',
    left: '0',
    right: '5%',
    bottom: '15%',
    containLabel: true,
  },
  xAxis: {
    type: 'value',
    show: false,
    boundaryGap: [0, 0.01],
  },
  yAxis: {
    type: 'category',
    show: false,
    data: ['紧急', '重要', '一般'],
  },
  series: [
    {
      name: '2012',
      type: 'bar',
      barWidth: 8,
      label: {
        show: true,
        position: 'top',
        formatter: '{a|{b}} {b|{c}}',
        rich: {
          a: {
            width: '100%',
          },
          b: {
            width: '100%',
          },
        },
      },
      data: [{
        value: 63,
        itemStyle: {
          color: '#FF6B56',
        },
      }, {
        value: 71,
        itemStyle: {
          color: '#FDA446',
        },
      }, {
        value: 92,
        itemStyle: {
          color: '#409EFF',
        },
      }],
    },
  ],
}
